const NameEditComponent = (props) => {
    const { userName, Change } = props
    return (
        <div>
            <label>Updata name:</label>
            <input value={userName} onChange={Change}></input>
        </div>
    )
}

export default NameEditComponent;